<%-- 
    Document   : show
    Created on : Oct 19, 2009, 3:33:45 AM
    Author     : Rui
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="java.util.ArrayList" %>
<%@ page import="webservice.UsersBean;" %>
<% ArrayList<UsersBean> Users = (ArrayList<UsersBean> )request.getAttribute("result"); %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
     <table width="300" border="1">
         <tr>
               <td>User Name</td>
               <td>Email Address</td>
         </tr>

            <%
                  for(int i=0;i<Users.size();i++){
                    out.println("<tr><td>");
                    out.println(Users.get(i).getUserName()+" </td>");
                    out.println("<td>"+Users.get(i).getEmail()+"</td></tr>");
                    }
             %>

     </table>

    </body>
</html>
